QT       += core gui
QT       += xml

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++14

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    BusinessLayer/ContainerForDevice.cpp \
    BusinessLayer/ContainerForService.cpp \
    BusinessLayer/ServiceDemoFuelFiller.cpp \
    BusinessLayer/ServiceDemoVoltage.cpp \
    DeviceLayer/DeviceCANHub.cpp \
    DeviceLayer/DeviceDemoAnyCAN.cpp \
    DeviceLayer/DeviceDemoClock.cpp \
    DeviceLayer/DeviceDemoPump.cpp \
    DeviceLayer/DeviceDemoValve.cpp \
    DeviceLayer/DeviceDemoVoltage.cpp \
    PublicService/ErrLog.cpp \
    PublicService/ObjectFactory.cpp \
    PublicService/SettingData.cpp \
    main.cpp \
    mainwindow.cpp

HEADERS += \
    BusinessLayer/Containers.h \
    BusinessLayer/DataPool.h \
    BusinessLayer/Service.h \
    BusinessLayer/ServiceDemoFuelFiller.h \
    BusinessLayer/ServiceDemoVoltage.h \
    DeviceLayer/Device.h \
    DeviceLayer/DeviceCANHub.h \
    DeviceLayer/DeviceDemoAnyCAN.h \
    DeviceLayer/DeviceDemoClock.h \
    DeviceLayer/DeviceDemoPump.h \
    DeviceLayer/DeviceDemoValve.h \
    DeviceLayer/DeviceDemoVoltage.h \
    DeviceLayer/DevicePumpBase.h \
    DeviceLayer/DeviceValveBase.h \
    PublicService/ErrLog.h \
    PublicService/ObjectFactory.h \
    PublicService/SettingData.h \
    mainwindow.h

FORMS += \
    mainwindow.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
